package com.bw.gmall.realtime.bean;

import java.sql.Timestamp;

public class KeywordBean {
    private Timestamp windowStart;
    private Timestamp windowEnd;
    private String keyword;
    private String source;
    private Long viewCount;
    private Long uvCount;

    // 构造函数
    public KeywordBean(Timestamp windowStart, Timestamp windowEnd, String keyword,
                      String source, Long viewCount, Long uvCount) {
        this.windowStart = windowStart;
        this.windowEnd = windowEnd;
        this.keyword = keyword;
        this.source = source;
        this.viewCount = viewCount;
        this.uvCount = uvCount;
    }

    // Getter和Setter方法
    public Timestamp getWindowStart() {
        return windowStart;
    }

    public void setWindowStart(Timestamp windowStart) {
        this.windowStart = windowStart;
    }

    public Timestamp getWindowEnd() {
        return windowEnd;
    }

    public void setWindowEnd(Timestamp windowEnd) {
        this.windowEnd = windowEnd;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public Long getViewCount() {
        return viewCount;
    }

    public void setViewCount(Long viewCount) {
        this.viewCount = viewCount;
    }

    public Long getUvCount() {
        return uvCount;
    }

    public void setUvCount(Long uvCount) {
        this.uvCount = uvCount;
    }
}
